#ifndef INFINITY_GRENADE_ENTITY_INL
#	define INFINITY_GRENADE_ENTITY_INL

namespace infinity {

inline void GrenadeEntity::setInitialPosition(const Vector3f& position)
{
	m_initialPosition = position;
}

inline void GrenadeEntity::setInitialVelocity(const Vector3f& velocity)
{
	m_initialVelocity = velocity;
}

inline void GrenadeEntity::setTimeToLive(dw::float32 timeToLive)
{
	m_timeToLive = timeToLive;
}

inline /*virtual*/ const Matrix4f& GrenadeEntity::getMatrix()
{
	return m_physicObject->getTransform();
}

inline GrenadeEntity::GrenadeEntity()
	:	super()
	,	m_physicObject(NULL)
	,	m_initialPosition(Vector3f::zero)
	,	m_initialVelocity(Vector3f::zero)
	,	m_timeToLive(3.0f)
{
}

} // namespace infinity

#endif // !INFINITY_GRENADE_ENTITY_INL
